N
AME
exec
- simple way to use exece()
S
YNTAX
#include <process.h>
int exec(string
file
, string ...
args
);
D
ESCRIPTION
This function destroys the Pike parser and runs the program 'file' instead with the arguments. If no there are no '/' in the filename, the variable PATH will be consulted when looking for the program. This function does not return except when the exec fails for some reason.
E
XAMPLE
exec("/bin/echo","hello","world");